Skip to content

add start info message#576

Merged
alexgallotta merged 6 commits intomainfrom
add-startup-info
Mar 3, 2025
Merged

add start info message#576
alexgallotta merged 6 commits intomainfrom
add-startup-info

Conversation

@alexgallotta
Copy link
Copy Markdown
Contributor

@alexgallotta alexgallotta commented Feb 27, 2025

Printing a debug line like

DD_EXTENSION | DEBUG | Starting Datadog Extension 71

at start

@alexgallotta alexgallotta requested a review from a team as a code owner February 27, 2025 19:43
Comment thread bottlecap/src/bin/bottlecap/main.rs Outdated
Comment thread bottlecap/src/bin/bottlecap/main.rs Outdated
Comment thread bottlecap/src/bin/bottlecap/main.rs Outdated
Comment thread bottlecap/src/tags/lambda/tags.rs Outdated
Comment thread scripts/build_binary_and_layer_dockerized.sh
Copy link
Copy Markdown
Contributor

@astuyve astuyve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved w/ comments


enable_logging_subsystem(&config);
let client = reqwest::Client::builder().no_proxy().build().map_err(|e| {
let version_without_next = EXTENSION_VERSION.split('-').next().unwrap_or("NA");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why without next?

Copy link
Copy Markdown
Contributor Author

@alexgallotta alexgallotta Mar 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was because the print was done before the fallback code.
It might still be clearer to avoid adding the -next suffix since it's not how we present the versions, but I don't really have a strong opinion on that, happy to change if you think it's more clean

also fixed import
@alexgallotta alexgallotta merged commit 9c8660d into main Mar 3, 2025
33 checks passed
@alexgallotta alexgallotta deleted the add-startup-info branch March 3, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants